/**
 * output package name
 */
package com.kingdee.eas.custom.bases;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class MarriageEnum extends StringEnum
{
    public static final String MARRIAGED_VALUE = "20";
    public static final String UNMARRIAGE_VALUE = "10";

    public static final MarriageEnum marriaged = new MarriageEnum("marriaged", MARRIAGED_VALUE);
    public static final MarriageEnum unmarriage = new MarriageEnum("unmarriage", UNMARRIAGE_VALUE);

    /**
     * construct function
     * @param String marriageEnum
     */
    private MarriageEnum(String name, String marriageEnum)
    {
        super(name, marriageEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static MarriageEnum getEnum(String marriageEnum)
    {
        return (MarriageEnum)getEnum(MarriageEnum.class, marriageEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(MarriageEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(MarriageEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(MarriageEnum.class);
    }
}